package com.sinven.serviceImpl;

import com.sinven.dao.TopicDao;
import com.sinven.entity.Topic;
import com.sinven.service.TopicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

/**
 * 李志伟
 */
@Service
@Transactional
public class TopicServiceImpl implements TopicService {
    @Autowired
    private TopicDao topicDao;

    @Override
    public Integer savaTopic(Topic topic) {
        return null;
    }

    @Override
    public List<Topic> findById(int id) {
        return null;
    }

    @Override
    public void addTop(Topic topic) {

    }

    @Override
    public void updataTop(Topic topic) {

    }

    @Override
    public void delectTop(int id) {

    }
}
